import {mc_validatorResult} from "./mc_validatorResult";
import {setValidator} from "../decorator/setValidator";
import {validatorEnum} from "../validator/validatorEnum";
import {getValidators} from "../decorator/getValidators";
/**
 * Created by ybjaa on 2017/7/3.
 */
export class test{


    @setValidator(validatorEnum.maxLength,"test",10)
    test:string="111";


    @getValidators()
    valiator(result:boolean=null,mc_result:mc_validatorResult=null):boolean {
        return result;
    }


}